GlobalPayments\WooCommercePaymentGatewayProvider\Gateways\AbstractGateway C

Total Complexity 110
Dependencies 28
Dependents 17
Total lines 1,174
Lines of code 729
Logical lines of code 201
Comment lines 295
Methods 37
Properties 11

Methods 37

Method Rating Maintainability Complexity Lines of code
handle_response()
B
43 19 43
capture_credit_card_authorization()
A
46 12 38
admin_enqueue_scripts()
A
47 8 40
tokenization_script()
A
40 6 69
secure_payment_fields_styles()
A
33 1 129
admin_enforce_single_gateway()
S
52 7 26
add_hooks()
S
52 6 28
init_form_fields()
S
38 1 84
process_refund()
S
53 4 21
configure_merchant_settings()
S
56 4 17
add_payment_method()
S
57 3 17
prepare_request()
S
52 2 25
woocommerce_available_payment_gateways()
S
66 3 9
woocommerce_credit_card_form_fields()
S
59 2 15
process_payment()
S
63 3 10
secure_payment_fields()
S
52 1 28
__construct()
S
53 1 25
avs_rejection_conditions()
S
55 1 20
secure_payment_fields_asset_base_url()
S
73 2 6
environment_indicator()
S
69 2 7
addCaptureOrderAction()
S
67 2 8
save_payment_method_checkbox()
S
72 2 6
get_gateway_provider()
S
71 2 6
get_credential_setting()
S
78 2 3
secure_payment_fields_config()
S
65 2 10
secure_payment_field_html_format()
S
69 1 11
payment_fields()
S
78 1 4
get_transaction_details()
S
70 1 6
get_first_line_support_email()
S
100 1 0
configure_method_settings()
S
100 1 0
get_gateway_form_fields()
S
100 1 0
is_transaction_active()
S
82 1 3
get_decline_message()
S
82 1 3
get_backend_gateway_options()
S
100 1 0
cvn_rejection_conditions()
S
66 1 9
get_frontend_gateway_options()
S
100 1 0
submit_request()
S
80 1 3